use ieee.electrical_system.all;
use ieee.std_logic_1164.all;
entity comparator is
	generic ( 
		td : time := 10 ns;
		hys : real := 1.0e-6;
		);
    port (
		d : out std_logic := '0';
		terminal p,m,gnd : electrical
		);
end entity comparator;